#pragma once

#include "bondchart.h"
#include <qbprotocol/include/SSQBAModel.h>
#include <bondlib/BondMarketStream.h>

enum {
	min_show_def = 2,
	max_show_def = 7
};

enum em_BrokerKinds {
	em_Broker = 0,
	em_Broker1,
	em_Broker2,
	em_Broker3,
	em_Broker4,
	em_Broker5,
	em_Exchange,
	em_CFETS,
	em_BrokerAll,//新增AllTab权限
	em_Error
};

class CAnalysisYieldCurve {
public:
	xQBAYieldCurveList_c	m_Curve;
	CMarketStreamlst		m_Stream;

	CAnalysisYieldCurve() {}
	~CAnalysisYieldCurve() {}
};

class BondChartTools
{
public:
	BondChartTools() {}

	static int GetAccuracyValue() { return m_accuracy; }
	static void SetAccuracyValue(int accuracy) { m_accuracy = accuracy; }

private:
	static int	m_accuracy;
};

